package com.ruoyi.ora.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 回收站对象 ora_assets_recycle
 * 
 * @author liuwp
 * @date 2025-05-20
 */
public class AssetsRecycle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 资产类型 */
    @Excel(name = "资产类型", dictType = "ora_assets_type")
    private Integer assetsType;

    private List<Integer> assetsTypes;

    /** 资产id */
    @Excel(name = "资产id")
    private Long assetsId;

    /** 删除时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    /** 还原时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "还原时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date restoreTime;

    private Long userId;

    private VoiceRecord voiceRecord;
    private VoiceMemoir voiceMemoir;
    private VoiceStory voiceStory;

    public VoiceRecord getVoiceRecord() {
        return voiceRecord;
    }

    public void setVoiceRecord(VoiceRecord voiceRecord) {
        this.voiceRecord = voiceRecord;
    }

    public VoiceMemoir getVoiceMemoir() {
        return voiceMemoir;
    }

    public void setVoiceMemoir(VoiceMemoir voiceMemoir) {
        this.voiceMemoir = voiceMemoir;
    }

    public VoiceStory getVoiceStory() {
        return voiceStory;
    }

    public void setVoiceStory(VoiceStory voiceStory) {
        this.voiceStory = voiceStory;
    }

    public List<Integer> getAssetsTypes() {
        return assetsTypes;
    }

    public void setAssetsTypes(List<Integer> assetsTypes) {
        this.assetsTypes = assetsTypes;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAssetsType(Integer assetsType) 
    {
        this.assetsType = assetsType;
    }

    public Integer getAssetsType() 
    {
        return assetsType;
    }

    public Long getAssetsId() {
        return assetsId;
    }

    public void setAssetsId(Long assetsId) {
        this.assetsId = assetsId;
    }

    public void setDeleteTime(Date deleteTime)
    {
        this.deleteTime = deleteTime;
    }

    public Date getDeleteTime() 
    {
        return deleteTime;
    }
    public void setRestoreTime(Date restoreTime) 
    {
        this.restoreTime = restoreTime;
    }

    public Date getRestoreTime() 
    {
        return restoreTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("assetsType", getAssetsType())
            .append("assetsId", getAssetsId())
            .append("createTime", getCreateTime())
            .append("deleteTime", getDeleteTime())
            .append("restoreTime", getRestoreTime())
            .toString();
    }
}
